package top.coolrainly.module.pb.convert.theme;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import top.coolrainly.module.pb.controller.admin.theme.vo.ThemeRespVO;
import top.coolrainly.module.pb.controller.admin.theme.vo.ThemeSaveReqVO;
import top.coolrainly.module.pb.dal.dataobject.theme.ThemeDO;

import java.util.List;

@Mapper
public interface ThemeConvert {
    ThemeConvert INSTANCE = Mappers.getMapper(ThemeConvert.class);

    ThemeDO convert(ThemeSaveReqVO bean);

    ThemeRespVO convert(ThemeDO bean);

    List<ThemeRespVO> convertList01(List<ThemeDO> beans);
}
